package com.lhn.dao.impl;

import com.lhn.dao.BookDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

/**
 * @author lhn
 * @date 2024-08-19 16:24
 */
@Repository("bookDao")
public class BookDaoImpl implements BookDao {
    @Value("${name}") //用于配置文件中的属性值
    private String name;
    @Override
    public void save() {
        System.out.println("book dao save ..." + name);
    }
}
